package ord2.notifier;

import ord2.core.AbstractFactory;

/**
 * This class is used to retrieve instances of notifiers that were attached
 * to the system. Names are case-sensitive.
 *
 * @author José Ivan
 * @author Edviges
 *
 */
public final class NotifierFactory extends AbstractFactory<String, Notifier> {
    
    private static NotifierFactory instance = null;
    
    private NotifierFactory() {
        
        super();
    }
    
    /**
     * Gets a instance of this converter to be used.
     * @return A instance of this factory
     */
    public static NotifierFactory getInstance() {
        
        if (instance == null) {
            
            instance = new NotifierFactory();
        }
        
        return instance;
    }
}
